package com.my.vote.pst.info;

import com.my.vote.entity.EVoteInfo;
import com.my.vote.entity.req.ReqVoteList;
import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

import java.util.List;

/**
 * 功能描述:
 *
 * @author SunFeihu 孙飞虎
 * @date 2018/4/18
 */
@Service(achieve = PstMyVoteList.class)
public interface IPstMyVoteList extends IPresenter<IPstMyVoteList.IVVoteList> {
    interface IVVoteList extends IView {
        void onPageList(int nowPage, int allSize,List<EVoteInfo> page);

        void onPageError(String error);
    }

    void listPage(ReqVoteList req);

    void listSigUpPage(ReqVoteList req);
}
